home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pesquisa Dirigida
/
Pesquisa Dirigida.iso
/
JOGOS
/
terrorism2.swf
/
scripts
/
DefineSprite_307
/
frame_4
/
DoAction.as
Wrap
Text File
|
2005-01-07
|
637b
|
22 lines
_root.ShellDrop.gotoAndPlay(2);
_parent.Casings.gotoAndPlay(2);
_root.Menu.MP5_ammo -= 1;
if(0 >= _root.Menu.MP5_ammo)
{
_root.Menu.MP5_ammo = 0;
setProperty(_root.Target, _name, "NoTarget");
setProperty(_root.NoTarget, _visible, false);
setProperty(_root.Gun, _name, "GunLoad");
_parent.gotoAndPlay("MP5_reload");
}
if(_root.WLF.hitTest(_root.Target._x,_root.Target._y,true) == true)
{
_root.Hole01.gotoAndPlay(3);
}
else if(_root.Metal.hitTest(_root.Target._x,_root.Target._y,true) == true)
{
_root.Ricochet.gotoAndPlay(2);
_root.Sparks.gotoAndPlay(2);
_root.ShellDrop.gotoAndPlay(3);
}